<html lang="zh">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<body>
<h2>login</h2>
<form action="/login" method="post">
    <span style="color: red;display: ${!error?'block':"none"}">${error}</span>
    <br>
    <h1>Please input your message:</h1><br>
    Username:<input type="text" name="username" value="Jalyson"><br>
    password: <input type="password" name="password"><br>
    <br><br><br>
    <input type="submit" value="Login"> <input type="reset" value="Reset"><br>

    <a href="/greeting">无需任何权限即可访问</a>
    <a href="/serverName">serverName</a>
    <a href="/systemConfig">systemConfig</a>

</form>
<script type="text/javascript">
    if ('${info}'.length > 0) {
        alert('${info}');
    }

</script>

</body>
</html>
